{%include file="m.index.header.tpl.php"%}
<!--头部 end--> 
<!--主体部分-->
<div class="container" style="margin-top:70px;"> 
  
  <div class="box-header with-border">
	<span class="fa fa-table" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
	<p class="box-title">{%$class_data.grade_name%}{%$class_data.class_name%}{%$semester_data.semester_name%}课程表</p>
	<span style="float:right; color:red;">启用日期： {%$start_time%}</span>
 </div>

  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;" >

    <table class="table table-striped table-bordered text-center"  id="middles" >
       <tr>
		 <td>节次</td>
		 {%foreach from=$week_lists key=key item=value%}
		 <td>{%$value%}</td>
		 {%/foreach%}
	  </tr>
	  {%foreach from=$out_am key=key item=value%}
	  <tr>
			 <td>{%$key%}</td>
			 {%foreach from=$value key=k item=v%}
			 <td>
				 {%$v.subject_name%}<br/>{%$v.staff_name%}
			 </td>
			 {%/foreach%}
	 </tr>
	 {%/foreach%}

	  <tr>
			<td></td>
	  </tr>
	  {%foreach from=$out_pm key=key item=value%}
	  <tr>
			 <td>{%$key%}</td>
			 {%foreach from=$value key=k item=v%}
			 <td>
				 {%$v.subject_name%}<br/>{%$v.staff_name%}
			 </td>
			 {%/foreach%}
	 </tr>
	 {%/foreach%}
    </table>
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
{%include file="m.index.footer.tpl.php"%} 
